package com.google.project.client.Service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.project.shared.ProjectTaskDTO;
import com.google.project.shared.TaskRequireDTO;


@RemoteServiceRelativePath("taskRequire")
public interface TaskRequireService extends RemoteService {
	int getNumEmpOfProject(String projectId);
	List<TaskRequireDTO> getListTaskReq();
	List<TaskRequireDTO> getTaskReqByTaskId(String taskId);
	void addTaskReq(ProjectTaskDTO task, TaskRequireDTO TaskReqDTO);
	void deleteTaskReqList(List<TaskRequireDTO> list);
	List<ProjectTaskDTO> getListTask(String projectId);
}
